package com.skzh.web.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.beans.factory.annotation.Autowired;
import com.skzh.uavTask.task.TaskStatusChecker;

@Configuration
@EnableScheduling
public class TaskConfig {

    @Autowired
    private TaskStatusChecker taskStatusChecker;

//    @Scheduled(cron = "${task.cron.task-status-checker}")
//    public void checkTaskStatus() {
//        taskStatusChecker.checkTaskStatus();
//    }
}
